@if(!empty($communities) && count($communities))
    <div class="panel panel-default corner-radius sidebar-resources">
        <div class="panel-heading text-center">
            <h3 class="panel-title">{{ lang('Brother Communities') }}</h3>
        </div>
        <div class="panel-body text-center" style="padding-top: 5px;">
            @foreach ($communities as $community)
                <a href="{{ $community->link }}" target="_blank" rel="nofollow" title="{{ $community->title }}" style="padding: 3px;">
                    <img src="{{ $community->cover }}" style="width:150px; margin: 3px 0;">
                </a>
            @endforeach
        </div>
    </div>
@endif